package iscript.gameFramework.IsoLibarys.display 
{
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.geom.Rectangle;
	import iscript.gameFramework.IsoLibarys.util.IsoUtil;

	public class IsoObject extends Sprite
	{
		
		protected var _row:Number;
		protected var _column:Number;
		protected var _walkable:Boolean = false;
		
		public function IsoObject(row:int,column:int,rectangle:Rectangle) 
		{
			_row = row;
			_column = column;
			_bonud = rectangle;
		}
		
		/**
		 * 指定其它对象是否可以经过所占的位置
		 
		public function set walkable(value:Boolean):void
		{
			_walkable = value;
		}
		public function get walkable():Boolean
		{
			return _walkable;
		}*/
			
		public function get row():Number
		{
			return _row;
		}

		
		public function get column():Number
		{
			return _column;
		}

		
		/**
		 * 返回占用着的矩形
		 */
		private var _bonud:Rectangle;
		public function get bound():Rectangle
		{
			return _bonud;
		}
		 
		 
		 
			
	}

}